home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997 September / Macworld (1997-09).dmg / Serious Software / Cherwell Scientific Demos / pro Fit / pro Fit 5.0 demo (ppc).sea / pro Fit 5.0 demo (ppc) / Functions & Programs / •Gadgets / Noise < prev    next >
MacBinary  |  1996-05-31  |  2.1 KB  |  [ftFC/NLft]

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Noise

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
100% file MacBinary II, inited, Fri May 31 21:41:47 1996, modified Fri May 31 21:41:47 1996, creator 'NLft', type 'ftFC', 1050 bytes "Noise" , at 0x49a 815 bytes resource default (weak)
99% file data default
65% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ftFC]
macFileCreator[NLft]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 4e 6f 69 73 65 00 | 00 00 00 00 00 00 00 00 |..Noise.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 66 74 46 43 4e 4c 66 | 74 01 00 00 00 00 00 00 |.ftFCNLf|t.......|
|00000050| 00 00 00 00 00 04 1a 00 | 00 03 2f ad d5 50 5b ad |........|../..P[.|
|00000060| d5 50 5b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.P[.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 2f ec 00 00 |........|..../...|
|00000080| 7b 0d 20 54 68 69 73 20 | 70 72 6f 67 72 61 6d 20 |{. This |program |
|00000090| 61 64 64 73 20 72 61 6e | 64 6f 6d 20 6e 6f 69 73 |adds ran|dom nois|
|000000a0| 65 20 74 6f 20 61 6c 6c | 20 6e 6f 6e 2d 65 6d 70 |e to all| non-emp|
|000000b0| 74 79 20 63 65 6c 6c 73 | 0d 20 6f 66 20 61 20 64 |ty cells|. of a d|
|000000c0| 61 74 61 20 63 6f 6c 75 | 6d 6e 2e 0d 0d 20 54 6f |ata colu|mn... To|
|000000d0| 20 75 73 65 20 74 68 65 | 20 70 72 6f 67 72 61 6d | use the| program|
|000000e0| 2c 20 66 69 72 73 74 20 | 63 6c 69 63 6b 20 74 68 |, first |click th|
|000000f0| 65 20 62 75 74 74 6f 6e | 20 22 41 64 64 22 20 61 |e button| "Add" a|
|00000100| 62 6f 76 65 20 74 6f 20 | 63 6f 6d 70 69 6c 65 20 |bove to |compile |
|00000110| 69 74 2c 20 74 68 65 6e | 0d 20 62 72 69 6e 67 20 |it, then|. bring |
|00000120| 74 68 65 20 64 65 73 69 | 72 65 64 20 64 61 74 61 |the desi|red data|
|00000130| 20 77 69 6e 64 6f 77 20 | 74 6f 20 66 72 6f 6e 74 | window |to front|
|00000140| 20 61 6e 64 20 63 68 6f | 6f 73 65 20 4e 6f 69 73 | and cho|ose Nois|
|00000150| 65 20 66 72 6f 6d 20 74 | 68 65 20 4d 69 73 63 20 |e from t|he Misc |
|00000160| 6d 65 6e 75 2e 0d 0d 20 | 59 6f 75 20 63 61 6e 20 |menu... |You can |
|00000170| 65 6e 74 65 72 20 74 68 | 65 20 61 6d 70 6c 69 74 |enter th|e amplit|
|00000180| 75 64 65 20 6f 66 20 74 | 68 65 20 6e 6f 69 73 65 |ude of t|he noise|
|00000190| 2e 20 49 74 20 63 61 6e | 20 65 69 74 68 65 72 20 |. It can| either |
|000001a0| 62 65 0d 20 61 62 73 6f | 6c 75 74 65 20 28 65 6e |be. abso|lute (en|
|000001b0| 74 65 72 20 61 6e 20 61 | 62 73 6f 6c 75 74 65 20 |ter an a|bsolute |
|000001c0| 76 61 6c 75 65 29 20 6f | 72 20 72 65 6c 61 74 69 |value) o|r relati|
|000001d0| 76 65 20 74 6f 20 74 68 | 65 20 70 72 65 73 65 6e |ve to th|e presen|
|000001e0| 74 0d 20 76 61 6c 75 65 | 20 69 6e 20 61 20 63 65 |t. value| in a ce|
|000001f0| 6c 6c 20 28 65 6e 74 65 | 72 20 61 20 72 65 6c 61 |ll (ente|r a rela|
|00000200| 74 69 76 65 20 6e 6f 69 | 73 65 20 69 6e 20 70 65 |tive noi|se in pe|
|00000210| 72 63 65 6e 74 29 0d 7d | 0d 0d 70 72 6f 67 72 61 |rcent).}|..progra|
|00000220| 6d 20 4e 6f 69 73 65 3b | 0d 0d 20 76 61 72 0d 20 |m Noise;|.. var. |
|00000230| 20 20 61 6d 70 6c 69 74 | 75 64 65 2c 20 72 3a 20 | amplit|ude, r: |
|00000240| 72 65 61 6c 3b 0d 20 20 | 20 70 65 72 63 41 62 73 |real;. | percAbs|
|00000250| 3a 20 69 6e 74 65 67 65 | 72 3b 20 7b 32 3a 70 65 |: intege|r; {2:pe|
|00000260| 72 63 65 6e 74 2c 20 31 | 3a 61 62 73 6f 6c 75 74 |rcent, 1|:absolut|
|00000270| 65 7d 0d 20 20 20 63 6f | 6c 75 6d 6e 2c 20 69 3a |e}. co|lumn, i:|
|00000280| 69 6e 74 65 67 65 72 3b | 0d 0d 70 72 6f 63 65 64 |integer;|..proced|
|00000290| 75 72 65 20 49 6e 69 74 | 69 61 6c 69 7a 65 3b 20 |ure Init|ialize; |
|000002a0| 7b 73 65 74 20 64 65 66 | 61 75 6c 74 20 76 61 6c |{set def|ault val|
|000002b0| 75 65 73 7d 0d 62 65 67 | 69 6e 0d 20 20 61 6d 70 |ues}.beg|in. amp|
|000002c0| 6c 69 74 75 64 65 20 3a | 3d 20 31 30 3b 0d 20 20 |litude :|= 10;. |
|000002d0| 70 65 72 63 41 62 73 20 | 3a 3d 20 32 3b 0d 20 20 |percAbs |:= 2;. |
|000002e0| 63 6f 6c 75 6d 6e 20 3a | 3d 20 31 3b 0d 65 6e 64 |column :|= 1;.end|
|000002f0| 3b 0d 0d 62 65 67 69 6e | 0d 20 20 49 6e 70 75 74 |;..begin|. Input|
|00000300| 28 27 24 43 43 6f 6c 75 | 6d 6e 27 2c 63 6f 6c 75 |('$CColu|mn',colu|
|00000310| 6d 6e 2c 0d 20 20 20 20 | 20 20 20 20 27 24 50 61 |mn,. | '$Pa|
|00000320| 62 73 6f 6c 75 74 65 3b | 70 65 72 63 65 6e 74 24 |bsolute;|percent$|
|00000330| 4e 6f 69 73 65 20 74 79 | 70 65 27 2c 70 65 72 63 |Noise ty|pe',perc|
|00000340| 41 62 73 2c 0d 20 20 20 | 20 20 20 20 20 27 41 6d |Abs,. | 'Am|
|00000350| 70 6c 69 74 75 64 65 27 | 2c 61 6d 70 6c 69 74 75 |plitude'|,amplitu|
|00000360| 64 65 29 3b 0d 20 20 66 | 6f 72 20 69 20 3a 3d 20 |de);. f|or i := |
|00000370| 31 20 74 6f 20 4e 72 52 | 6f 77 73 20 64 6f 0d 20 |1 to NrR|ows do. |
|00000380| 20 20 69 66 20 44 61 74 | 61 4f 4b 28 69 2c 63 6f | if Dat|aOK(i,co|
|00000390| 6c 75 6d 6e 29 20 74 68 | 65 6e 0d 20 20 20 62 65 |lumn) th|en. be|
|000003a0| 67 69 6e 0d 20 20 20 20 | 20 72 20 3a 3d 20 61 6d |gin. | r := am|
|000003b0| 70 6c 69 74 75 64 65 20 | 2a 20 28 52 61 6e 64 6f |plitude |* (Rando|
|000003c0| 6d 20 2a 20 32 20 2d 20 | 31 29 3b 20 7b 52 61 6e |m * 2 - |1); {Ran|
|000003d0| 64 6f 6d 20 72 65 74 75 | 72 6e 73 20 62 65 74 77 |dom retu|rns betw|
|000003e0| 65 65 6e 20 30 20 61 6e | 64 20 31 7d 0d 20 20 20 |een 0 an|d 1}. |
|000003f0| 20 20 69 66 20 70 65 72 | 63 41 62 73 3d 32 20 74 | if per|cAbs=2 t|
|00000400| 68 65 6e 0d 20 20 20 20 | 20 20 20 64 61 74 61 5b |hen. | data[|
|00000410| 69 2c 63 6f 6c 75 6d 6e | 5d 20 3a 3d 20 64 61 74 |i,column|] := dat|
|00000420| 61 5b 69 2c 63 6f 6c 75 | 6d 6e 5d 2a 28 31 20 2b |a[i,colu|mn]*(1 +|
|00000430| 20 72 2f 31 30 30 29 20 | 20 7b 70 65 72 63 65 6e | r/100) | {percen|
|00000440| 74 7d 0d 20 20 20 20 20 | 65 6c 73 65 0d 20 20 20 |t}. |else. |
|00000450| 20 20 20 20 64 61 74 61 | 5b 69 2c 63 6f 6c 75 6d | data|[i,colum|
|00000460| 6e 5d 20 3a 3d 20 64 61 | 74 61 5b 69 2c 63 6f 6c |n] := da|ta[i,col|
|00000470| 75 6d 6e 5d 20 2b 20 72 | 3b 20 20 20 20 20 20 20 |umn] + r|; |
|00000480| 20 20 7b 61 62 73 6f 6c | 75 74 65 7d 0d 20 20 20 | {absol|ute}. |
|00000490| 65 6e 64 3b 0d 65 6e 64 | 3b 0d 00 00 00 00 00 00 |end;.end|;.......|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 01 00 00 00 02 b9 | 00 00 01 b9 00 00 00 76 |........|.......v|
|00000510| 61 64 64 73 20 73 6f 6d | 65 20 72 61 6e 64 6f 6d |adds som|e random|
|00000520| 20 6e 6f 69 73 65 20 74 | 6f 20 61 20 64 61 74 61 | noise t|o a data|
|00000530| 05 4e 6f 69 73 65 02 00 | 00 00 66 74 46 43 4e 4c |.Noise..|..ftFCNL|
|00000540| 66 74 01 00 ff ff ff ff | 00 00 00 00 30 a5 00 00 |ft......|....0...|
|00000550| 00 00 66 74 46 43 4e 4c | 66 74 01 00 ff ff ff ff |..ftFCNL|ft......|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000570| 00 00 ad d5 05 41 00 00 | 04 1a 00 00 03 2f 73 65 |.....A..|...../se|
|00000580| 20 4e 6f 69 73 65 20 66 | 72 6f 6d 20 74 68 65 20 | Noise f|rom the |
|00000590| 4d 69 73 63 20 6d 65 6e | 75 2e 0d 7d 0d 00 00 00 |Misc men|u..}....|
|000005a0| 00 00 0e 00 0e 00 00 00 | 00 00 00 00 00 04 02 00 |........|........|
|000005b0| 16 00 00 00 01 00 00 00 | b8 00 00 00 ce 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | b6 00 00 04 92 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 08 00 00 00 00 00 |........|........|
|000005e0| 00 00 0e 00 0e 00 00 00 | 00 00 00 00 00 04 02 00 |........|........|
|000005f0| 17 00 00 00 01 00 00 00 | c0 00 00 00 ce 00 00 00 |........|........|
|00000600| 00 00 00 08 00 e8 00 13 | 02 35 02 07 00 00 01 06 |........|.5......|
|00000610| 00 04 00 09 00 00 06 4d | 6f 6e 61 63 6f 28 40 a1 |.......M|onaco(@.|
|00000620| 27 a0 00 52 ca f0 00 81 | 00 00 00 01 d9 94 fe 00 |'..R....|........|
|00000630| 10 00 02 26 1d dc 02 26 | 1c 30 00 02 a2 04 00 0b |...&...&|.0......|
|00000640| 00 06 00 0b 00 06 00 01 | 1c 20 02 00 88 18 00 00 |........|. ......|
|00000650| 00 00 ff ff ff ff 02 26 | 1d 40 00 0b a8 44 03 48 |.......&|.@...D.H|
|00000660| 72 a8 00 00 00 02 00 2a | 00 11 02 00 32 10 00 0d |r......*|....2...|
|00000670| 73 50 02 26 1c 98 00 0d | 73 5c 02 06 51 14 02 00 |sP.&....|s\..Q...|
|00000680| 88 ba 00 00 00 01 00 03 | c8 90 00 04 eb b0 00 03 |........|........|
|00000690| c8 90 00 00 00 00 02 26 | 1c a0 00 19 61 10 00 14 |.......&|....a...|
|000006a0| d8 38 00 19 61 30 02 26 | 1c a0 00 18 c3 2c 00 14 |.8..a0.&|.....,..|
|000006b0| d1 b4 00 49 97 00 02 26 | 1c a0 00 18 c3 2c 00 0d |...I...&|.....,..|
|000006c0| 73 5c 00 0d 73 50 02 26 | 1c d0 00 18 c3 2c 00 1a |s\..sP.&|.....,..|
|000006d0| 14 5c 00 00 03 e1 02 26 | 1c b0 00 0d 73 74 00 11 |.\.....&|....st..|
|000006e0| 47 c8 00 04 eb b0 00 00 | 64 d0 00 01 2f a4 00 00 |G.......|d.../...|
|000006f0| 00 00 00 0b ae 60 02 00 | ab da 00 19 61 10 07 80 |.....`..|....a...|
|00000700| 03 80 00 00 00 00 02 26 | 1d 00 02 26 1c f0 00 14 |.......&|...&....|
|00000710| cf 48 00 00 00 02 00 00 | 00 10 00 00 00 00 00 00 |.H......|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 04 00 00 |........|........|
|00000730| 00 01 00 00 00 78 00 03 | 00 00 00 48 00 48 00 00 |.....x..|...H.H..|
|00000740| 00 00 03 36 02 40 ff f4 | ff f5 03 3e 02 48 03 47 |...6.@..|...>.H.G|
|00000750| 05 7b 03 e0 00 02 00 00 | 00 48 00 48 00 00 00 00 |.{......|.H.H....|
|00000760| 02 d8 02 28 00 01 00 00 | 00 64 00 00 00 01 00 03 |...(....|.d......|
|00000770| 03 03 00 00 00 01 27 0f | 00 01 00 01 00 00 00 00 |......'.|........|
|00000780| 00 00 00 00 00 00 00 00 | 68 08 00 19 01 90 00 00 |........|h.......|
|00000790| 00 00 00 20 00 00 00 00 | 00 00 00 00 00 00 00 00 |... ....|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 07 06 70 72 6f 46 69 | 74 00 00 01 00 00 00 02 |...proFi|t.......|
|000007c0| b9 00 00 01 b9 00 00 00 | 76 02 00 bf 2c 2a 9a 00 |........|v...,*..|
|000007d0| 00 00 1c 00 76 00 01 66 | 49 4e 46 00 04 00 12 53 |....v..f|INF....S|
|000007e0| 54 52 20 00 00 00 4e 00 | 81 ff ff 00 00 00 00 02 |TR ...N.|........|
|000007f0| 00 b0 cc 00 82 ff ff 00 | 00 00 0c 02 00 b1 b4 00 |........|........|
|00000800| 83 ff ff 00 00 01 16 01 | fe e3 c8 00 85 ff ff 00 |........|........|
|00000810| 00 01 2a 01 fe e3 bc 00 | 84 ff ff 00 00 01 32 02 |..*.....|......2.|
|00000820| 00 b0 18 bf f4 ff ff 00 | 00 01 ae 02 00 af f8 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+